package cn.platform.mapper;

import cn.platform.entity.HarmonyChildMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface HarmonyNoticeMapper {
    /**
     * 查询学校通知
     *
     * @return AResponse res 学校通知
     * @author jyz
     */
    @Select("select title, content from jxt_sch_announcements where status = '生效'")
    List<Map<String, String>> getNotice();
}
